<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>


<script type="text/javascript">

function fileUploadPopup(itemsNo) {
    <c:if test="${login == null}">
        alert("로그인을 먼저 해주세요");
    </c:if>
    <c:if test="${login != null}">
    alert("fileupload");
    
        var url = "boardlist.spring?action=fileupload&boardItemsNo=" + itemsNo;
        $("#divDialogFile" ).dialog( "open" );
        $("#frame").attr("src", url);
    </c:if>
     
}
	
</script>



<!-- </head>
<body style="width: 1200px; margin: 0 auto;"> -->
	<!-- 회원 가입  투명 배경화면 레이어 Div -->
	<div class="ui-widget-overlay"></div>

	<div id="main_body">
		<div id="head">
			<a id="logo" href="main.spring">
				<!-- <div id="logoCanvas" style="width: 350px; height:100px; title:Burpee;"> </div> -->
			</a>
			<!-- 헤드 메뉴 바 div	 -->
			<div id="headMemuBar">
				<ul class="head_menu_bar" id="head_menu_bar">
					<li class="head_menu_bar_li"><a href="main.spring"><font color="red" size="6">B</font><font color="blue">urpee</font></a></li>
					<li class="head_menu_bar_li"><a class="hsubs" href="javascript:exerciseMain('','');">헬스 관리</a>
						<ul class="sub">
							<li><a href="javascript:exercisePurposeSelectList('H');">홈트레이닝</a></li>
							<li><a href="javascript:exercisePurposeSelectList('W');">웨이트 트레이닝</a></li>
							<li><a href="javascript:exercisePurposeSelectList('Y');">요가</a></li>
							<li><a href="javascript:exercisePurposeSelectList('S');">스트레칭</a></li>
							<li><a href="javascript:exercisePurposeSelectList('D');">다이어트</a></li>
							<li><a href="javascript:exercisePurposeSelectList('A');">유산소 운동</a></li>
						</ul></li>
					<li class="head_menu_bar_li">
                        <a class="hsubs" href="javascript:menuBarReading();">음식 영양</a>
						<ul class="sub">
							<li><a href="javascript:totalFoodInformation();">음식</a></li>
							<li><a href="javascript:foodIngestPurposeSelectList('B');">영양식</a></li>
							<li><a href="javascript:foodIngestPurposeSelectList('C')">간편식</a></li>
							<li><a href="javascript:foodIngestPurposeSelectList('D')">다이어트식</a></li>
						</ul></li>
					<li class="head_menu_bar_li">
                        <a class="hsubs" href="javascript:grouplist();">그룹</a>
					<li class="head_menu_bar_li">
                        <a class="hsubs" href="mapPage.jsp">위치 표시</a></li>
					<li class="head_menu_bar_li">
                         <a href="javascript:healthCareMain();">건강 기록부</a>
                         <ul class="sub">
                            <li><a href="javascript:privateInformation();">개인상세정보</a></li>
                            <li><a href="javascript:schedular();">종합스케쥴러</a></li>
                            <li><a href="javascript:mySports();">내 운동표</a></li>
                            <li><a href="javascript:myFood();">내 식단표</a></li>
                            <li><a href="javascript:healthGraph();">건강통계</a></li>
                        </ul>
                    </li> 
					<li class="head_menu_bar_li">
						<a href="admin.spring?action=adminMode">관리자모드</a>
						<ul class="sub">
							<li><a href="javascript:adminMemberSide();">회원 관리</a></li>
	                        <li><a href="javascript:adminExerciseSide()">헬스 관리</a></li>
	                        <li><a href="javascript:adminFoodSide();">음식/영양관리</a></li>
	                        <li><a href="javascript:adminLocationSide();">위치 관리</a></li>
	                        <li><a href="javascript:adminHealthcareSide();">건강기록부 관리</a></li>
	                        <li><a href="javascript:adminBoardSide();">게시판 관리</a></li>
						</ul>
						
						</li>
					<div id="lavalamp"></div>
				</ul>
			</div>
			<!-- headMenuBar END -->
		</div>
		<!-- //head END -->

  
<!-- <script type="text/javascript">
var angularSpeed = 0.1; 
var lastTime = 0;

// this function is executed on each animation frame
function animate(){
  // update
  var time = (new Date()).getTime();
  var timeDiff = time - lastTime;
  var angleChange = angularSpeed * timeDiff * 2 * Math.PI / 1000;
  cube.rotation.y += angleChange;
  lastTime = time;

  // render
  renderer.render(scene, camera);

  // request new frame
  requestAnimationFrame(function(){
      animate();
  });
}

// renderer
var renderer = new THREE.WebGLRenderer();
renderer.setSize(350, 100);

this.dd = document.getElementById('logoCanvas');
dd.appendChild(renderer.domElement);
// camera
var camera = new THREE.PerspectiveCamera(40, window.innerWidth / window.innerHeight, 1, 3000);
camera.position.z = 400;

// scene
var scene = new THREE.Scene();

// material
var material = new THREE.MeshLambertMaterial({
  map: THREE.ImageUtils.loadTexture('image/burpee.jpg')
});
          
// cube
var cube = new THREE.Mesh(new THREE.CubeGeometry(450, 250, 300), material);
cube.overdraw = true;
cube.rotation.x = Math.PI * 0.1;
scene.add(cube);

// add subtle ambient lighting
var ambientLight = new THREE.AmbientLight(0xbbbbbb);
scene.add(ambientLight);

// directional lighting
var directionalLight = new THREE.DirectionalLight(0xffffff);
directionalLight.position.set(1, 1, 1).normalize();
scene.add(directionalLight);

// start animation
animate();

</script> -->
  
  
  
  
  
  
  
  
  
  
  
  
  